rm shadowsocks.service
echo "[Unit]" >> shadowsocks.service
echo "Description=Shadowsocks Client Service" >> shadowsocks.service
echo "After=network.target" >> shadowsocks.service

echo >> shadowsocks.service

echo "[Service]" >> shadowsocks.service
echo "Type=simple" >> shadowsocks.service
echo "User=root" >> shadowsocks.service
echo "ExecStart=/usr/bin/sslocal -c "$(pwd)"/file/linux-ss-config.json" >> shadowsocks.service

echo >> shadowsocks.service

echo "[Install]" >> shadowsocks.service
echo "WantedBy=multi-user.target" >> shadowsocks.service


